{% extends 'admin/base.html' %}
{% include 'admin/header.html' %}

{% block main %}
    {{ super() }}
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo"> FlaskCMS 后台管理系统</div>
            <!-- 头部区域（可配合layui已有的水平导航） -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item"><a href="">主页</a></li>
                <li class="layui-nav-item"><a href="">新建</a></li>
                <li class="layui-nav-item"><a href="">评论</a></li>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                        贤心
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="">基本资料</a></dd>
                        <dd><a href="">安全设置</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="">退了</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test">
                    <li class="layui-nav-item layui-nav-itemed">
                        <a class="" href="javascript:;">仪表盘</a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;">首页</a></dd>
                            <dd><a href="javascript:;">更新</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">文章</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/admin/post">文章列表</a></dd>
                            <dd><a href="/admin/post/new">发布文章</a></dd>
                            <dd><a href="javascript:;">分类目录</a></dd>
                            <dd><a href="javascript:;">标签</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">页面</a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;">页面列表</a></dd>
                            <dd><a href="javascript:;">新建页面</a></dd>
                            <dd><a href="">超链接</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">媒体</a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;">图片库</a></dd>
                            <dd><a href="javascript:;">视频库</a></dd>
                            <dd><a href="javascript:;">文档库</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item"><a href="">评论</a></li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">用户</a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;">所有用户</a></dd>
                            <dd><a href="javascript:;">添加用户</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">设置</a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;">站点设置</a></dd>

                        </dl>
                    </li>
                    <li class="layui-nav-item"><a href="">关于</a></li>
                </ul>
            </div>
        </div>

        <div class="layui-body">
            <iframe id="iframeMain" src="" style="width: 100%" ; height="100%" ;></iframe>
        </div>

        <div class="layui-footer">
            © ilearnging
        </div>
    </div>

{% endblock %}
{% include 'admin/footer.html' %}
